package org.wk.affiliate.api;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

/**
 * 获取协议
 * @author df.wu
 */
@Controller
@RequestMapping("agreement")
public class AgreementController {

    private final Logger logger = LoggerFactory.getLogger(this.getClass());


    /**
     * 获取注册协议
     * @return
     */
    @RequestMapping("register")
    public String register() {
        logger.info("获取注册协议");
        return "agreement/register";
    }


}
